package star.cloud.asme.base.security.authenticaiton;

import star.cloud.asme.base.dto.Result;
import star.cloud.asme.system.user.User;

public interface AuthenticationService {

    Result<User> registerUser(User user);

    Result<User> handleAuthenticateSuccess();

    Result<User> handleAuthenticateFail();

    Result<User> login(User user);

    Result<?> logout(String username);
}